package cn.seecoder.courselearning.service.post;

import cn.seecoder.courselearning.vo.ResultVO;
import cn.seecoder.courselearning.vo.post.PostVO;
import com.github.pagehelper.PageInfo;

public interface PostService {
    //创建帖子
    ResultVO<PostVO> createPost(PostVO postVO, Integer courseId);
    // 根据分类，分页查询帖子
    PageInfo<PostVO> getPostsByType(Integer currPage, Integer pageSize, Integer courseId, String type);
}
